package com.lottery.game.core.modules.entity.user;

import com.lottery.game.common.BaseObject;

import java.util.Date;

import javax.persistence.Column;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel
public class GameIssue extends BaseObject {

	@ApiModelProperty("主键ID")
	private String id;
	@ApiModelProperty("房间编号")
	private String roomId;
	/**
	 * 玩法编号
	 */
	@Column(name = "game_type_playing_ticket")
	@ApiModelProperty(value = "游戏玩法编号")
	private Integer gameTypePlayingTicket;
	@ApiModelProperty("期号")
	private String issue;
	@ApiModelProperty("第三方期次号")
	private String issueApi;
	//游戏状态 0正在进行，1已封盘 ，2已开奖，计算完  。-1开奖异常
	@ApiModelProperty("游戏状态 0正在进行，1已封盘 ，2已开奖，计算完  。-1开奖异常")
	private String status;
	@ApiModelProperty("创建时间")
	private Date createTime;
	@ApiModelProperty("游戏结束时间")
	private Date closeTime;
	@ApiModelProperty("开奖时间")
	private Date openTime;
	@ApiModelProperty("备注")
	private String note;
	@ApiModelProperty("这个暂时不清楚")
	private String resultStr;
	//剩余游戏持续时间秒
	@ApiModelProperty("剩余游戏持续时间倒计时")
	private int duration;

	//查询参数 当前时间
	@ApiModelProperty("当前查询时间")
	private Date currentTime;
}
